<?php
declare(strict_types=1);
namespace SixShop\Payment\Event;

use SixShop\Payment\Enum\PaymentBizEnum;

class BeforePayEvent
{
    public function __construct(
        protected array $order,
        protected string $paymentId,
        protected PaymentBizEnum $bizType,
    ) {
    }
    public function getOrder(): array
    {
        return $this->order;
    }
    public function getPaymentId(): string
    {
        return $this->paymentId;
    }
    public function getBizType(): PaymentBizEnum
    {
        return $this->bizType;
    }
}